/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package views;

import web.Formatter;

/**
 *
 * @author Alejandro
 */
public class HighlightElement extends ViewElement{
    private int id;
    private int idr;

    public HighlightElement(String header, String value, int id, int idr) {
        super(header, value);
        this.id = id;
        this.idr = idr;
    }

    public int getIDR() {
        return idr;
    }

    public int getHighlightId() {
        return id;
    }

    @Override
    public void accept(Formatter f) {
        f.formatHighlight(this);
    }

}
